Release 10.1A: OpenEdge Development:
.NET Open Clients


Running procedures and user-defined functions

After connecting to an AppServer and creating an Progress.Open4GL.Proxy.OpenAppObject, you can invoke application service code as follows:

  1. Run any external non-persistent or persistent procedure that is available on the OpenAppObject. (Running a persistent procedure instantiates an OpenProcObject.)
  2. Run any available internal procedure or user-defined function on an instantiated OpenProcObject.

Before running any procedure or user-defined function, you must set up any parameters and return types required by the procedure or user-defined function. For more information, see the "Setting up parameters" section. You can then pass the parameters to the procedure or user-defined function and manage them according to their modes (INPUT, INPUT-OUTPUT or OUTPUT). For more information, see the "Passing parameters" section.

After running any procedure or user-defined function, you must handle any output (returned values) or error conditions. For more information, see the "Handling returned values" section.

The following sections describe:

For examples that show how to run application service code, see the "Sample .NET OpenAPI code" section.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095